#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>


using namespace std;

int main()
{
    int fd=open("fifo",O_RDONLY);

    char readbuffer[1024];
    read(fd,readbuffer,1024);
    cout<<"You say"<<readbuffer<<endl;

    return 0;
}